package edu.stonybrook.cs.gars.server.data.exceptions;

import java.io.File;
/**
 * This exception is thrown when there is an error in the formatting of the map file
 * @author Tony Arra
 *
 */
public class MapFormatException extends Exception {
	public MapFormatException(File map, String line) {
		super(map.getName() + " is not formatted properly.\nLine: " + line);
	}
	
	public MapFormatException(String message) {
		super(message);
	}
}
